Creates a UNO object. On Windows, can also create OLE objects.
UNO オブジェクトを作成します。Windows では、OLE オブジェクトも作成できます。
This method creates instances of the type that is passed as parameter.
このメソッドにより、パラメータとして渡されるタイプのインスタンスが作成されます。
oObj = CreateObject( type )
oObj = CreateObject( type )
Type address
Type address
Name1 as String
Name1 as String
City as String
City as String
End Type
End Type
Sub main
Sub main
myaddress = CreateObject("address")
myaddress = CreateObject("address")
MsgBox IsObject(myaddress)
MsgBox IsObject(myaddress)
End Sub
End Sub